/* eslint-disable */

import React from 'react'
import { getIconColor } from './helper'

const DEFAULT_STYLE = {
  display: 'block',
}

const IconShoppingCart = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M922.936889 701.895111H327.452444l29.895112-60.871111 496.810666-0.938667c16.782222 0 31.175111-11.975111 34.190222-28.586666L957.155556 226.389333a34.759111 34.759111 0 0 0-34.133334-40.903111l-631.978666-2.076444-5.404445-25.400889a35.527111 35.527111 0 0 0-34.588444-28.017778H96.540444a35.299556 35.299556 0 0 0 0 70.599111H222.435556l23.608888 112.213334 58.112 281.315555-74.808888 122.083556a34.986667 34.986667 0 0 0-2.986667 36.807111c5.973333 11.889778 18.090667 19.399111 31.488 19.399111h62.805333a102.684444 102.684444 0 0 0 82.005334 164.295111 102.684444 102.684444 0 0 0 102.599111-102.599111 103.537778 103.537778 0 0 0-20.622223-61.724445h161.109334a102.684444 102.684444 0 0 0 82.005333 164.295112 102.684444 102.684444 0 0 0 102.599111-102.570667 103.537778 103.537778 0 0 0-20.593778-61.724445h113.294223c19.399111 0 35.271111-15.786667 35.271111-35.271111a35.413333 35.413333 0 0 0-35.384889-35.214222zM305.777778 253.013333l575.800889 1.877334-56.405334 315.818666-452.295111 0.796445-67.100444-318.492445z m96.910222 612.693334c-17.408 0-31.601778-14.222222-31.601778-31.601778 0-17.408 14.193778-31.601778 31.573334-31.601778a31.658667 31.658667 0 0 1 22.357333 53.930667 31.601778 31.601778 0 0 1-22.328889 9.272889z m325.091556 0c-17.408 0-31.601778-14.222222-31.601778-31.601778 0-17.408 14.222222-31.601778 31.573333-31.601778a31.658667 31.658667 0 0 1 22.385778 53.930667 31.601778 31.601778 0 0 1-22.357333 9.272889z"
        fill={getIconColor(color, 0, '#000000')}
        fillOpacity=".65"
      />
    </svg>
  )
}

IconShoppingCart.defaultProps = {
  size: 18,
}

export default IconShoppingCart
